/*
 * @Description: 有效期的说明提示
 * @Author: tao.xie
 * @Date: 2019-03-25 18:50:04
 * @Last Modified by: tao.xie
 * @Last Modified time: 2019-03-28 09:57:33
 */
import ValidDatePopDialog from './ValidDatePopDialog.vue'
import Vue from 'vue'

var ValidDatePopDialogConstructor = Vue.extend(ValidDatePopDialog)
var instance

var ValidDatePopDialogJS = {
  show: function() {
    if (!instance) {
      instance = new ValidDatePopDialogConstructor({
        el: document.createElement('div')
      })
    }
    document.body.appendChild(instance.$el)
    instance.show()
  }
}

export default ValidDatePopDialogJS
